//
//  PhotoCell.m
//  时尚男士
//
//  Created by dlios on 15-6-10.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "PhotoCell.h"

@implementation PhotoCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.PhotoImageView = [[UIImageView alloc] init];
        [self.contentView addSubview:_PhotoImageView];
        [_PhotoImageView release];
        self.PhotoLabel = [[UILabel alloc] init];
        _PhotoLabel.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:_PhotoLabel];
        [_PhotoLabel release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    CGFloat height = self.contentView.frame.size.height;
    CGFloat width = self.contentView.frame.size.width;
    _PhotoImageView.frame = CGRectMake(0, 0, width, height);
    _PhotoLabel.frame = CGRectMake(0, height - 100, width, 100);
    
}

@end
